//
//  JSTLoginCell.m
//  KYKJPackDemo
//
//  Created by 01 on 17/6/2.
//  Copyright © 2017年 ???. All rights reserved.
//

#import "JSTLoginCell.h"


@interface JSTLoginCell ()<UITextFieldDelegate>

@property (nonatomic, strong) UILabel *label;

@end

@implementation JSTLoginCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (id) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        _label = [[UILabel alloc] init];
        [self addSubview:_label];
        
//        _textFd = [[UITextField alloc] init];
//        [self addSubview:_textFd];
    }
    return self;
}

- (void) createContent:(NSString *)labelStr
{
    CGFloat labelX = EvaluationCellInset;
    CGFloat labelY = EvaluationCellInset/2.;
    CGFloat labelW = kLoginLabelWidth;
    CGFloat labelH = kCurrentScreenWidth(35);
    _label.frame = CGRectMake(labelX, labelY, labelW, labelH);
    _label.text = labelStr;
    _label.font = kSystemFont(kCurrentScreenWidth(12));
    _label.textColor = kBlackColor;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
